package com.hq.mapper;

import com.hq.entity.QuestionType;
import com.hq.entity.Score;
import com.hq.entity.ScoreVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ScoreMapper {

    //添加分数
    int add(Score score);

    //分页查询
    List<ScoreVO> findAll();

    //单行删除
    int delScore(int id);

    //批量删除
    int delScores(String ids);

    //修改
    int editScore(ScoreVO scorevo);


}
